# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-chromecast
pkgver=7.1.2
pkgrel=0
pkgdesc="Python module to talk to Google Chromecast"
url="https://github.com/balloob/pychromecast"
arch="noarch"
license="MIT"
depends="python3 py3-casttube py3-zeroconf py3-protobuf"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/P/PyChromecast/PyChromecast-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/PyChromecast-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b7ba912058b5fa6d40df8e476f487bf5c80f269063a10394968c7c847830035fa1d44c97705eabd3abae893944a00a292bc52fcd076d93a9680ba9e38a0f60dd  PyChromecast-7.1.2.tar.gz"
